package com.lyx.service;

import com.lyx.entity.Course;
import com.lyx.entity.Student;

import java.util.List;

/**
 * --- Be Humble and Hungry ---
 *
 * @author McMeloxD
 * @date 2024/8/23
 * @desc
 */
public interface CourseService {

    List<Course> findAllInfos(String cname);

    int addCourse(Course course);

    int editCourse(Course course);

    int delICourse(String cname);

    List<Student> students(Integer cid);

    int deletestudent(Integer sid, Integer cid);
}
